SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}Stolberg{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCity = 'Stolberg' OR prZip = 'Stolberg' OR prStreet LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}Stolberg{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCountry = 'Stolberg') AND (prLocation LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}(Rheinland){23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCity = '(Rheinland)' OR prZip = '(Rheinland)' OR prStreet LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}(Rheinland){23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCountry = '(Rheinland)') AND (prLocation LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}/{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}/{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCountry = '/') AND (prLocation LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}Dorff{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCity = 'Dorff' OR prZip = 'Dorff' OR prStreet LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}Dorff{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCountry = 'Dorff') AND (prLocation LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}Germany{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}Germany{23dd040df013398876cf83a840501fde8d8b5def2f36c3f25acea292b957cc45}' OR prCountry = 'Germany')